{#
 This Source Code Form is subject to the terms of the Mozilla Public
 License, v. 2.0. If a copy of the MPL was not distributed with this
 file, You can obtain one at https://mozilla.org/MPL/2.0/.
#}

{# Send-to-device widget for Firefox for Android #}

<div class="c-inline-form">
  <h2 class="c-inline-form-title">{{ ftl('mobile-android-get-firefox-for') }}</h2>
{% if LANG in settings.SEND_TO_DEVICE_LOCALES %}
  <p class="c-inline-form-body">{{ ftl('mobile-android-send-a-download-link-to-your') }}</p>
  {{ send_to_device(include_title=False, message_set='fx-mobile-download-desktop', dom_id='s2d-hero') }}
{% else %}
  <p class="c-inline-form-body">{{ ftl('mobile-android-scan-the-qr-code-to-get-started') }}</p>
  <div class="qr-code-wrapper">
    <img src="{{ static('img/firefox/browsers/mobile/qrcode-firefox-browsers-mobile-android.png') }}" width="400" height="400" id="firefox-qr" alt="{{ ftl('mobile-android-scan-alt-text') }}">
  </div>
{% endif %}
</div>
